package my.mall.db.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 * 店铺职员表
 * </p>
 *
 * @author fengbo
 * @since 2024-04-22
 */
@TableName("mall_store_clerk")
class StoreClerk {

    @TableId(value = "id", type = IdType.AUTO)
    var id: Long? = null

    /**
     * 管理员ID
     */
    var adminId: Long? = null

    /**
     * 店铺ID
     */
    var storeId: Long? = null

    /**
     * 昵称
     */
    var nickName: String? = null

    companion object {

        const val ID : String = "id"


        const val ADMIN_ID : String = "admin_id"


        const val STORE_ID : String = "store_id"


        const val NICK_NAME : String = "nick_name"

    }

    override fun toString(): String {
        return "StoreClerk{" +
        "id=" + id +
        ", adminId=" + adminId +
        ", storeId=" + storeId +
        ", nickName=" + nickName +
        "}"
    }
}
